#ifndef VARPOT_H
#define VARPOT_H

#include <avr/io.h>
#include "avr_compiler.h"
#include "IRcom.h"
#include "pc_com.h"

#define VARPOT_ADDR 0x58

void varpot_init();

void set_ir_power(Direction_e dir, uint8_t power);

uint8_t get_ir_power(Direction_e dir);

#endif
